package io.bdmc.modules.sys.dao;

import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.sys.entity.SysRole;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author HuangLu
 * @since 2019-04-04
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    SysRole queryObject(Long roleId);

    MyPage<SysRole> queryList(@Param("myPage") MyPage<SysRole> myPage);
}
